package org.wutopia.leocloud.domain.security;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * SprintCloud Security 认证、授权服务
 *
 **/
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "org.wutopia.leocloud")
@EnableFeignClients(basePackages = "org.wutopia.leocloud.domain.security.domain.client")
@RestController
public class SecurityApplication {
    public static void main(String[] args) {
        SpringApplication.run(SecurityApplication.class, args);
    }

    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }
}
